#!/usr/bin/env bash
mkdir ../dist

t=` date +%Y%m%d%H%M%S `
tar_name=../dist/apping_demod_$t.tgz
echo $tar_name

tar zcvf $tar_name . 
rm -rf ../dist/current
mkdir -p ../dist/current
cp $tar_name ../dist/current/
